\name{plotModel}
\alias{plotModel}
\title{Plot of single regression models}
\description{Make a scatterplot with the fitted regression curve. The regression curve could be 'linear', 'cuadratic', 'cubic', 'potential', 'exponential', 'logarithmic', 'inverse' or 'scurve'.}
\usage{plotModel(x, y, curve="linear", subset=TRUE, ...)}
\arguments{
  \item{x}{Is the explanatory variable.}
  \item{y}{Is the explained variable.}
  \item{curve}{Is the type of model: 'linear' (default), 'cuadratic', 'cubic', 'potential', 'exponential', 'logarithmic', 'inverse' or 'scurve'}
  \item{subset}{Is a logical vector indicating the index subset to use in the plot.}
  \item{...}{Additional graphics options}
}
\author{Alfredo Sánchez Alberca \email{asalber@gmail.com}}
\examples{
x<-c(0,1,2,3,4,5,6,7,8)
y<-c(25,28,47,65,86,121,190,290,362)
plotModel(x, y)
plotModel(x, y, curve="cuadratic")
plotModel(x, y, curve="exponential")
}
\keyword{regression}
